package com.crx.springbootinit.model.dto.chat;

/**
 * @author 谢杭延
 * @Date 2024-10-31 13:40
 */

import com.crx.springbootinit.model.dto.page.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel("聊天记录分页查询条件")
public class ChatPageDTO extends PageQuery {
    @ApiModelProperty(value = "发起者名称")
    private String userName;

    @ApiModelProperty(value = "接收者名称")
    private String targetName;

    @ApiModelProperty(value = "内容")
    private String content;
}
